package com.kehutong.payfees.entity;

import java.math.BigDecimal;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;

import com.kehutong.payfees.enums.ItemChargeModeType;

@Table(value = "t_charge_standard_item", comment="阶梯计费配置", multi = true)
public class ChargeStandardItem extends Entity {

    private static final long serialVersionUID = 3966826435367754539L;

    protected ChargeStandardItem(String id) {
        super(id);
    }

    @Column(comment = "费项标准ID")
    private String standardId;

    @Column(comment = "开始数量")
    private BigDecimal startAmount;

    @Column(comment = "截止数量")
    private BigDecimal endAmount;

    @Column(comment = "单价")
    private BigDecimal price;

    @Column(comment = "计费方式")
    private ItemChargeModeType chargeMode;

    public String getStandardId() {
        return standardId;
    }

    public void setStandardId(String standardId) {
        this.standardId = standardId;
    }

    public BigDecimal getStartAmount() {
        return startAmount;
    }

    public void setStartAmount(BigDecimal startAmount) {
        this.startAmount = startAmount;
    }

    public BigDecimal getEndAmount() {
        return endAmount;
    }

    public void setEndAmount(BigDecimal endAmount) {
        this.endAmount = endAmount;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public ItemChargeModeType getChargeMode() {
        return chargeMode;
    }

    public void setChargeMode(ItemChargeModeType chargeMode) {
        this.chargeMode = chargeMode;
    }
}
